Pruning of overgrown trees